-
Home
-
WP Discourse
-
2.5.9 (latest)
-
Code
-
Classes
- FileHandler
| Total Complexity |
37 |
| Dependencies |
1 |
| Dependents |
5 |
| Total lines |
344 |
| Lines of code |
163 |
| Logical lines of code |
101 |
| Comment lines |
127 |
| Methods |
18 |
| Properties |
7 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| write() |
S |
54 |
6 |
21 |
| list_files() |
S |
53 |
5 |
26 |
| rotate() |
S |
57 |
4 |
18 |
| __construct() |
S |
55 |
3 |
19 |
| close() |
S |
71 |
2 |
6 |
| reset() |
S |
71 |
2 |
6 |
| current_file_url() |
S |
65 |
2 |
9 |
| current_file_number() |
S |
68 |
2 |
8 |
| get_date() |
S |
69 |
2 |
7 |
| enabled() |
S |
82 |
1 |
3 |
| get_file_size_limit() |
S |
82 |
1 |
3 |
| build_new_file_url() |
S |
67 |
1 |
7 |
| validate_size() |
S |
69 |
1 |
6 |
| file_name() |
S |
73 |
1 |
5 |
| build_filename() |
S |
75 |
1 |
4 |
| get_number_from_url() |
S |
72 |
1 |
5 |
| get_date_from_url() |
S |
71 |
1 |
5 |
| get_filename() |
S |
72 |
1 |
5 |